package com.hkts.management.utils;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @ClassNamePayProperties
 * @Description
 * @Author yck
 * @Date2021-05-17 11:18
 * @Version V1.0
 **/
@Component
@Data
@RefreshScope
public class PayProperties {
    @Value("${management.pay.mchid}")
    private String  mchid;
    @Value("${management.pay.securityKey}")
    private String  securityKey;
    @Value("${management.pay.noticeUrl}")
    private String  noticeUrl;
    @Value("${management.pay.refundNoticeUrl}")
    private String  refundNoticeUrl;
    @Value("${management.pay.fee}")
    private Integer  fee;
}
